package flowmodel

import "github.com/zeromicro/go-zero/core/stores/sqlx"

var _ FlowTaskModel = (*customFlowTaskModel)(nil)

type (
	// FlowTaskModel is an interface to be customized, add more methods here,
	// and implement the added methods in customFlowTaskModel.
	FlowTaskModel interface {
		flowTaskModel
	}

	customFlowTaskModel struct {
		*defaultFlowTaskModel
	}
)

// NewFlowTaskModel returns a model for the database table.
func NewFlowTaskModel(conn sqlx.SqlConn) FlowTaskModel {
	return &customFlowTaskModel{
		defaultFlowTaskModel: newFlowTaskModel(conn),
	}
}
